package com.ksd.pug.cloud.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

/**
 * @author 飞哥
 * @Title: 学相伴出品
 * @Description: 我们有一个学习网站：https://www.kuangstudy.com
 * @date 2022/3/10 12:51
 */
@FeignClient(name = "ksd-sleuth-pug-user-service-db")
public interface UserServcieFeign {


    @GetMapping("/getuser/{id}")
    public Map<String, Object> getUser(@PathVariable("id") Long id);

}
